package com.android.lovingpet.bean;

public class JsonPost {

    private Post post;
    private int userId;
    private int code;

    public Post getPost() {
        post.setRealId(post.getId());
        post.setId(0);
        post.setUserId(userId);
        return post;
    }

    public int getCode() {
        return code;
    }
}
